package com.tjbklx1.pattern2.chap31.c02_decorator;

public class Decorator implements Swan {
	private Swan swan;

	// 修饰的是谁
	public Decorator(Swan _swan) {
		this.swan = _swan;
	}

	public void cry() {
		swan.cry();
	}

	public void desAppaearance() {
		swan.desAppaearance();
	}

	public void fly() {
		swan.fly();
	}
}